import { request } from '../utils'
console.log("登录进来了")
export async function login (params) {
  return request('login/login', {
    method: 'post',
    data: params
  })
}

export async function logout (params) {
  console.log("未进入登录")
  return request('login/loginOut', {
    method: 'post',
    data: params
  })
}

export async function userInfo (params) {
  return request('/manager/info', {
    method: 'get',
    data: params
  })
}
